how to convert logarithm to exponentia